<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body>
    <form action="">
        账号：<input type="text" name="account" placeholder="请输入账号" required autofocus autocomplete="on" pattern="\w{6}">
        <br>
        密码：<input type="password" name="pwd" placeholder="请输入密码" pattern="\w{6}">
        <br>
        性别：
        <input type="radio" value="male" name="gender">男
        <input type="radio" value="female" name="gender">女
        <br>
        爱好：
        <input type="checkbox" value="smoke" name="hobby">抽烟
        <input type="checkbox" value="drink" name="hobby">喝酒
        <input type="checkbox" value="perm" name="hobby">烫头1
        <br>
        其他：<textarea name="other" cols="30" rows="10" placeholder="请输入其他"></textarea>
        <br>
        <button>提交</button>
    </form>
</body>

</html>